package com.example.demo1122.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo1122.domain.ResponseResult;
import com.example.demo1122.entity.Conversation;

public interface IConversationService extends IService<Conversation> {
//    ResponseResult saveConversation(Conversation conversation);

    ResponseResult createConversation(Conversation conversation);

    ResponseResult selectStudentConversation(String studentID);



    ResponseResult getConversationNum(String studentID);

    ResponseResult evaluateConversation(Conversation conversation);

    ResponseResult endConversation(Conversation conversation);

    ResponseResult showHistory(Conversation conversation);

    ResponseResult showClassConversation(Integer classID);

    ResponseResult searchConversation(Conversation conversation);

    ResponseResult chapterConversationInfo(Integer classID, Integer chapterID, String studentID);

    ResponseResult getCourseConversationNum_interval(Integer courseID, Integer chapterID, Integer interval);

    ResponseResult getCourseConversationNum_range(Integer courseID, Integer chapterID, String startSelectTime, String endSelectTime);

    ResponseResult getClassConversationNum_interval(Integer classID, Integer chapterID, Integer interval);

    ResponseResult getClassConversationNum_range(Integer classID, Integer chapterID, String startSelectTime, String endSelectTime);
}
